package com.gsy.request;



import com.gsy.aop.annotation.NotRequired;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author lby
 * @version 1.0
 * @description: TODO
 * @date 2020/2/24 10:34
 */
@ApiModel(value = "获取快递信息", description = "获取快递信息")
public class GetExpressInfoRequest extends BaseRequest {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(name = "num", value = "快递单号", dataType = "String", example = "3950055201640", required = true)
    private String num;

    @ApiModelProperty(name = "from", value = "出发地城市", dataType = "String", example = "北京", required = true)
    @NotRequired
    private String from;

    @ApiModelProperty(name = "to", value = "目的地城市", dataType = "String", example = "北京", required = true)
    @NotRequired
    private String to;

    @ApiModelProperty(name = "resultv2", value = "行政区域解析", dataType = "int", example = "0", required = true)
    @NotRequired
    private int resultv2;

    @ApiModelProperty(name = "phone", value = "手机号", dataType = "String", example = "18760367991", required = true)
    @NotRequired
    private String phone;


    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public int getResultv2() {
        return resultv2;
    }

    public void setResultv2(int resultv2) {
        this.resultv2 = resultv2;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
